Crate extism_pdk_derive
source ·Attribute Macros§
host_fn
is used to import a host function from anextern
blockplugin_fn
is used to define an Extism callable function to exportshared_fn
is used to define a function that will be exported by a plugin but is not directly callable by an Extism runtime. These functions can be used for runtime linking and mocking host functions for tests. If direct access to Wasm native parameters is needed, then a bareextern "C" fn
should be used instead.